package com.kefu.sys.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value="cdr_rghistory_tenant")
@ApiModel(description="机构充值记录")
public class CdrRghistoryTenant {


    @TableId(value="id",type= IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField(value="tenant_id")
    @ApiModelProperty(value = "公司ID")
    private String tenantId;

    @TableField(value="RgMoney")
    @ApiModelProperty(value = "充值金额")
    private String rgmoney;

    @TableField(value="create_time")
    @ApiModelProperty(value = "充值时间")
    private Date createTime;

    @TableField(value="RgPeopel")
    @ApiModelProperty(value = "操作人")
    private String rgpeopel;


    @TableField(value="type")
    @ApiModelProperty(value = "类型：1-消耗，2-充值")
    private Integer type;

    @TableField(value="Remarks")
    @ApiModelProperty(value = "备注")
    private String remarks;

    @TableField(value="beforeMoney")
    @ApiModelProperty(value = "充值前余额")
    private String beforemoney;

    @TableField(value="afterMoney")
    @ApiModelProperty(value = "充值后余额")
    private String aftermoney;
    private static final long serialVersionUID = 1L;


}
